<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!-- 导入标签库 -->
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!doctype html>
<html>
<head>
	<base href="<%=basePath%>">
    <meta charset="UTF-8">
    <title>『自助物流系统』后台管理</title>
    <link rel="stylesheet" type="text/css" href="UI/users/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="UI/users/css/main.css"/>
    <script type="text/javascript" src="UI/users/js/libs/modernizr.min.js"></script>
</head>
<body>
<s:if test="null==#session.account">
	<s:a href="login.action" align="center"><h2>您不能直接访问网站内部页面,请先登录!</h2></s:a>
</s:if>
<s:else>

<div class="topbar-wrap white">
    <div class="topbar-inner clearfix">
        <div class="topbar-logo-wrap clearfix">
            <h1 class="topbar-logo none"><a href="index.jsp" class="navbar-brand">后台管理</a></h1>
            <ul class="navbar-list clearfix">
                <li><a class="on" href="UI/users/index.jsp">首页</a></li>
            </ul>
        </div>
        <div class="top-info-wrap">
        	
            <ul class="top-info-list clearfix">
                <li>欢迎您: <s:property value="#session.name"/></li>
                <li><a href="login.jsp">退出</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>菜单</h1>
        </div>
        <div class="sidebar-content">
            <ul class="sidebar-list">
                <li>
                    <a href="#"><i class="icon-font">&#xe003;</i>常用操作</a>
                    <ul class="sub-menu">
                        <li><a href="goodsList" target="win"><i class="icon-font">&#xe008;</i>商品管理</a></li>
                        <li><a href="listAllOrdertableUser" target="win"><i class="icon-font">&#xe005;</i>订单管理</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#"><i class="icon-font">&#xe018;</i>个人管理</a>
                    <ul class="sub-menu">
                        <li><a href="preCheckPersonInfo" target="win"><i class="icon-font">&#xe017;</i>查看个人信息</a></li>
                        <li><a href="preUpdatePersonInfo" target="win"><i class="icon-font">&#xe037;</i>修改个人信息</a></li>
                   		<li><a href="preUpdatePassword" target="win"><i class="icon-font">&#xe037;</i>修改密码</a></li>
                   		
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <!--/sidebar-->
    <div class="main-wrap" ht>
        <iframe name="win" id="win" frameborder="0" height="1300" width="100%">
        
        </iframe>
    </div>
    <!--/main-->
</div>
</s:else>
<script type="text/javascript">

function reinitIframe(){

var iframe = document.getElementById("win");

try{

iframe.height =  iframe.contentWindow.document.documentElement.scrollHeight;

}catch (ex){}

}

window.setInterval("reinitIframe()", 200);

</script>
</body>
</html>